//
//  HalfViewViewController.swift
//  FastDevelop
//
//  Created by IOS1 on 2025/6/27.
//

import UIKit

class HalfViewViewController: BaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.addSubviews([
            logoImageV,
            bottomView
        ])
        
        logoImageV.snp.makeConstraints { make in
            make.top.leading.trailing.equalToSuperview()
            make.height.equalTo(365)
        }
        bottomView.snp.makeConstraints { make in
            make.bottom.leading.trailing.equalToSuperview()
            make.height.equalTo(365)
            make.top.equalTo(logoImageV.snp.bottom).offset(-45)
        }
    }
    
    lazy var logoImageV: UIImageView = {
        let v = UIImageView()
        v.contentMode = .scaleAspectFill
        v.image = UIImage(named: "logo")
        v.isUserInteractionEnabled = true
        return v
    }()
    lazy var bottomView: UIView = {
        let v = UIView()
        v.backgroundColor = .white
        v.layer.cornerRadius = 16
        v.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
        v.layer.masksToBounds = true
        return v
    }()

}
